package org.dandelero.properties.framework;

/**
 * Interface used to define predicates that can be applied for aggregating and filtering {@link Properties}.
 * 
 * @param <T>
 *            the type of data to be evaluated.
 * @author dandelero
 */
public interface Predicate<T> {

	/**
	 * The check as to whether a property should be accepted or rejected.
	 * 
	 * @param o
	 *            the object.
	 * @return true or false.
	 */
	boolean evaluate(T o);

}
